Extending SPARQL with regular expression patterns (for querying RDF)

نویسندگان

  • Faisal Alkhateeb
  • Jean-François Baget
  • Jérôme Euzenat
چکیده

RDF is a knowledge representation language dedicated to the annotation of resourceswithin the framework of the semantic web. Among the query languages for RDF, SPARQLallows querying RDF through graph patterns, i.e., RDF graphs involving variables. Otherlanguages, inspired by the work in databases, use regular expressions for searching pathsin RDF graphs. Each approach can express queries that are out of reach of the other one.Hence, we aim at combining these two approaches. For that purpose, we define a language,called PRDF (for “Path RDF”) which extends RDF such that the arcs of a graph can belabeled by regular expression patterns. We provide PRDF with a semantics extending thatof RDF, and propose a correct and complete algorithm which, by computing a particulargraph homomorphism, decides the consequence between an RDF graph and a PRDF graph.We then define the PSPARQL query language, extending SPARQL with PRDF graph pat-terns and complying with RDF model theoretic semantics. PRDF thus offers both graphpatterns and path expressions. We show that this extension does not increase the computa-tional complexity of SPARQL and, based on the proposed algorithm, we have implementeda correct and complete PSPARQL query engine.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Beyond SPARQL under OWL 2 QL Entailment Regime: Rules to the Rescue

SPARQL is the de facto language for querying RDF data, since its standardization in 2008. A new version, called SPARQL 1.1, was released in 2013, with the aim of enriching the 2008 language with reasoning capabilities to deal with RDFS and OWL vocabularies, and a mechanism to express navigation patterns through regular expressions. However, SPARQL 1.1 is not powerful enough for expressing some ...

متن کامل

An Extension of SPARQL for RDFS

RDF Schema (RDFS) extends RDF with a schema vocabulary with a predefined semantics. Evaluating queries which involve this vocabulary is challenging, and there is not yet consensus in the Semantic Web community on how to define a query language for RDFS. In this paper, we introduce a language for querying RDFS data. This language is obtained by extending SPARQL with nested regular expressions th...

متن کامل

Path discovery by Querying the federation of Relational Database and RDF Graph

The class of queries for detecting path is an important as those can extract implicit binary relations over the nodes of input graphs. Most of the path querying languages used by the RDF community, like property paths in W3C SPARQL 1.1 and nested regular expressions in nSPARQL are based on the regular expressions. Federated queries allow for combining graph patterns and relational database that...

متن کامل

Constrained regular expressions for answering RDF-path queries modulo RDFS

The standard SPARQL query language is currently defined for querying RDF graphs without RDFS semantics. Several extensions to SPARQL have been proposed to query RDF graphs considering RDFS semantics. In this paper, we discuss extensions of SPARQL that uses regular expressions to navigate RDF graphs and may be used to answer queries considering RDFS semantics. In particular, we present and compa...

متن کامل

Answering SPARQL queries modulo RDF Schema with paths

SPARQL is the standard query language for RDF graphs. In its strict instantiation, it only offers querying according to the RDF semantics and would thus ignore the semantics of data expressed with respect to (RDF) schemas or (OWL) ontologies. Several extensions to SPARQL have been proposed to query RDF data modulo RDFS, i.e., interpreting the query with RDFS semantics and/or considering externa...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • J. Web Sem.

دوره 7  شماره 

صفحات  -

تاریخ انتشار 2009